package com.kb.erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (PcbaOrder)实体类
 *
 * @author makejava
 * @since 2023-11-24 09:37:12
 */
@TableName("PCBA_Order")
@Data
public class PcbaOrder implements Serializable {
    private static final long serialVersionUID = -40811294307656663L;
    /**
     * 自动ID
     */
    private Long autoid;
    /**
     * 订单号
     */
    private String orderno;
    /**
     * 客户编码
     */
    private String customerid;
    /**
     * 业务员ID
     */
    private String salesid;
    /**
     * 合同编号
     */
    private String contractno;
    /**
     * 客户部件
     */
    private String partnumber;
    /**
     * 文件名
     */
//    private String filename;
    /**
     * 工艺制程
     */
    private String processingtype;
    
    private Boolean processingtype1;
    
    private Boolean processingtype2;
    
    private Boolean processingtype3;
    
    private Boolean processingtype4;
    
    private Boolean processingtype5;
    
    private Boolean processingtype6;
    
    private Boolean processingtype7;
    
    private Boolean processingtype8;
    
    private Boolean processingtype9;
    
    private Boolean processingtype10;
    
    private Boolean processingtype11;
    
    private Boolean processingtype12;
    
    private Boolean processingtype13;
    
    private Boolean processingtype14;
    /**
     * 订单类型
     */
    private String orderproperties;
    /**
     * 制程性质
     */
    private String processnature;
    /**
     * 一站式类型/FPC拼片方式
     */
    private String onestoptype;
    /**
     * Set数
     */
    private String setquantity;
    /**
     * Unit数量
     */
    private Long unitquantity;
    /**
     * 拼板数
     */
    private Integer setunit;
    /**
     * 下单日期
     */
    private Date orderdate;
    /**
     * 交货日期
     */
    private Date deliverydate;
    /**
     * 工程费
     */
    private BigDecimal projectcost;
    /**
     * 钢网费
     */
    private BigDecimal steelcosts;
    /**
     * 治具费
     */
    private BigDecimal fixturecosts;
    
    private BigDecimal deliverycost;
    /**
     * SMT Unit单价
     */
    private BigDecimal smtprice;
    /**
     * DIP Unit单价
     */
    private BigDecimal dipprice;
    /**
     * 后焊单价
     */
    private BigDecimal afterweldingprice;
    /**
     * 组装单价
     */
    private BigDecimal assemblyprice;
    /**
     * 测试单价
     */
    private BigDecimal testprice;
    /**
     * 清洗包装费
     */
    private BigDecimal cleaningcost;
    
    private String bgainspection;
    /**
     * 整板单价(自动运算)
     */
    private String unitprice;
    /**
     * 最低收费
     */
    private BigDecimal minimumcost;
    /**
     * 其他费用
     */
    private BigDecimal othercost;
    /**
     * 优惠金额
     */
    private BigDecimal offeramount;
    /**
     * 币种
     */
    private String currencycode;
    
    private Double exchangerate;
    
    private String notepad;
    
    private String zdr;
    /**
     * 总金额
     */
    private String spec;
    
    private BigDecimal zje;
    
    private String gc;
    
    private String enTime;
    /**
     * 状态
     */
    private String status;
    /**
     * 一站式编码
     */
    private String yzsbm;
    
    private String pcbcq;
    
    private String lxr;
    
    private String bgdh;
    
    private String sj;
    /**
     * 地址
     */
    private String dz;
    /**
     * PCB部件编码
     */
    private String pcbpartnumber;
    /**
     * 层数
     */
    private Integer layers;
    /**
     * SET长
     */
    private Double setl;
    /**
     * SET 宽
     */
    private Double setw;
    
    private Date matDate;
    /**
     * 税率
     */
    private String invType;
    /**
     * 票据类型
     */
    private String billType;
    
    private Integer tc;
    
    private Integer orderid;
    
    private Integer tcsl;
    
    private String matCode;
    
    private String poNum;
    
    private Date tcdate;
    
    private Integer shipQty;
    
    private Integer returnQty;
    
    private Integer tradeRoutePtr;
    
    private String tradeRouteSpec;
    
    private String endCustcode;
    
    private String sourceorder;
    
    private String shipAddrPtr;
    
    private String shipContact;
    
    private String shipTel;
    
    private String shipMethod;
    
    private String oldorderno;
    
    private Boolean iscost;
    
    private Date lastModifDate;
    
    private Integer modifytype;
    
    private String oldtaxrate;
    
    private String surface;
    
    private Boolean isjp;
    /**
     * 报价需求号
     */
    private String rfqno;
    
    private Integer bdtemp;
    
    private Integer jpqty;
    
    private String prodAudit;
    
    private BigDecimal discount;
    
    private BigDecimal discountcost;
    /**
     * 客户需求交期
     */
    private Date custactualdate;
    
    private BigDecimal pcsprice;

    /**
     * 非数据库字段
     */
    @TableField(exist = false)
    private String customerCode;
    @TableField(exist = false)
    private String customerName;
    /**
     *   订单管理员
     */
    @TableField(exist = false)
    private String orderManager;
    /**
     *   订单性质
     */
    @TableField(exist = false)
    private String orderType;
    /**
     *   客户行业
     */
    @TableField(exist = false)
    private String customerProfession;
    /**
     *   业务员代码
     */
    @TableField(exist = false)
    private String salesCode;
    /**
     *   业务员
     */
    @TableField(exist = false)
    private String salesName;
    /**
     *   生产组织
     */
    @TableField(exist = false)
    private String prodOrg;
    /**
     *   销售组织
     */
    @TableField(exist = false)
    private String salesOrg;
    /**
     *   贸易路径
     */
    @TableField(exist = false)
    private String tradeDesc;
    /**
     *   备注
     */
    @TableField(exist = false)
    private String remark;
    /**
     *   文件名
     */
    @TableField(exist = false)
    private String fileName;
    /**
     *   档案号
     */
    @TableField(exist = false)
    private String fileNumber;

    @TableField(exist = false)
    private String dept1;
    @TableField(exist = false)
    private String dept2;
    @TableField(exist = false)
    private String dept3;
}

